/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* 侧边栏样式 */
.bg-dark {
    background-color: #343a40 !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.active {
    background-color: #495057 !important;
}

/* 卡片样式 */
.card {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    border: none;
    border-radius: 0.35rem;
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    padding: 0.75rem 1.25rem;
}

.card-header h6 {
    font-weight: 700;
    color: #4e73df;
}

/* 表格样式 */
.table th {
    background-color: #f8f9fa;
    color: #5a5c69;
    font-weight: 700;
    border-top: none;
}

.table td {
    vertical-align: middle;
}

/* 按钮样式 */
.btn-block {
    width: 100%;
}

/* 表单样式 */
.form-control:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

/* 边框样式 */
.border-left-primary {
    border-left: 0.25rem solid #4e73df !important;
}

.border-left-success {
    border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
    border-left: 0.25rem solid #36b9cc !important;
}

.border-left-warning {
    border-left: 0.25rem solid #f6c23e !important;
}

.border-left-danger {
    border-left: 0.25rem solid #e74a3b !important;
}

/* 文本颜色 */
.text-primary {
    color: #4e73df !important;
}

.text-success {
    color: #1cc88a !important;
}

.text-info {
    color: #36b9cc !important;
}

.text-warning {
    color: #f6c23e !important;
}

.text-danger {
    color: #e74a3b !important;
}

/* 分页样式 */
.page-item.active .page-link {
    background-color: #4e73df;
    border-color: #4e73df;
}

.page-link {
    color: #4e73df;
}

.page-link:hover {
    color: #224abe;
}

/* 搜索框样式 */
.search-box {
    margin-bottom: 1rem;
}

/* 日期范围选择器样式 */
.date-range-picker {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.date-range-picker .form-control {
    margin-right: 0.5rem;
}

/* 统计卡片样式 */
.stat-card {
    padding: 1.5rem;
    border-radius: 0.35rem;
    background-color: #fff;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    margin-bottom: 1.5rem;
}

.stat-card .icon {
    font-size: 2rem;
    opacity: 0.3;
}

.stat-card .title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.stat-card .value {
    font-size: 1.5rem;
    font-weight: 700;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .date-range-picker {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .date-range-picker .form-control {
        margin-right: 0;
        margin-bottom: 0.5rem;
        width: 100%;
    }
} 